﻿
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cspl.Project.Namespace
{
    using System;


    public class ClassA
    {
        public ClassA(int param)
        {
            propertyValue = param;
        }
        public int FieldA;
        private int anActualVal;
        public int MethodA(int param) {
            return 1;
        }
        private int propertyValue;
        public int PropertyA {
            set;
            get;            
        }

        public string PropertyB { 
            get; set; 
        }

        
        public int AnPropertyValue {
            set { anActualVal = propertyValue; }
            get { return anActualVal; }            
        }

        public void ShowTheProperty()
        {
            Console.WriteLine("Property Value : " + AnPropertyValue);
            Console.WriteLine("Actual Value : " + anActualVal);
        }
    }

    public struct StructA
    {
        public int PropertyA
        {
            set;
            get;
        } 
    }

    
}
